package com.hnyyjsxy.domain;

import java.util.List;

/**
 * @date 2021/02/06
 */
public class PageBean {
    private int totalCount;//总记录数
    private int totalPage;//总页数
    private List<Stranger> list;//每页显示的数据集合

    public PageBean() {
    }

    public PageBean(int totalCount, int totalPage, List<Stranger> list) {
        this.totalCount = totalCount;
        this.totalPage = totalPage;
        this.list = list;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<Stranger> getList() {
        return list;
    }

    public void setList(List<Stranger> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "PageBean{" +
                "totalCount=" + totalCount +
                ", totalPage=" + totalPage +
                ", list=" + list +
                '}';
    }
}
